var infos = [
	['A', 'female', 21, 1],
	['B', 'male', 23, 3],
	['C', 'male', 24, 4],
	['D', 'female', 21, 1],
	['E', 'female', 22, 4],
	['F', 'male', 21, 1],
	['G', 'female', 22, 2],
	['H', 'female', 20, 3],
	['I', 'female', 20, 1],
	['J', 'male', 20, 3]
]
var entry = [];
var j = 0;
for (var i in Object.keys(infos)) {
	if (infos[i][3] == 1) {
		entry[j] = infos[i];
		j++;
	}
}
var k = 0;
while (k < entry.length) {
	if (entry[k][1] == 'male') {
		continue;
	} else {
		document.write(entry[k] + '<br/>');
	}
	k++;
}

var a = 1;
do {
	console.log(a);
} while (a < 0)

outerloop:
for (let i = 0; i < 10; i++) {
	for (let j = 0; j < 10; j++) {
		console.log(j);
		if (i == 3) {
			break outerloop;
		}
	}
}
console.log('loop over');
